package com.inews.business.wangpan.jinshan.util;

import java.util.HashMap;
import java.util.Map;

/*
 * 请求路径数据字典
 */
public class UrlSwitch {
	private static Map<String,String> URLDICTIONARY = new HashMap<String, String>();

	public static Map<String, String> getMETHOD() {
		URLDICTIONARY.put("requestToken", "https://openapi.kuaipan.cn/open/requestToken");
		URLDICTIONARY.put("accessToken", "https://openapi.kuaipan.cn/open/accessToken");
		URLDICTIONARY.put("account_info", "http://openapi.kuaipan.cn/1/account_info/");
		URLDICTIONARY.put("metadata", "http://openapi.kuaipan.cn/1/metadata/");
		URLDICTIONARY.put("shares", "http://openapi.kuaipan.cn/1/shares");
		URLDICTIONARY.put("delete", "http://openapi.kuaipan.cn/1/fileops/delete");
		URLDICTIONARY.put("move", "http://openapi.kuaipan.cn/1/fileops/move");
		URLDICTIONARY.put("copy", "http://openapi.kuaipan.cn/1/fileops/copy");
		URLDICTIONARY.put("upload_locate", "http://api-content.dfs.kuaipan.cn/1/fileops/upload_locate");
		URLDICTIONARY.put("upload_file", "http://p4.dfs.kuaipan.cn/cdlnode/1/fileops/upload_file");
		URLDICTIONARY.put("download_file", "http://api-content.dfs.kuaipan.cn/1/fileops/download_file");
		URLDICTIONARY.put("create_folder", "http://openapi.kuaipan.cn/1/fileops/create_folder");
		URLDICTIONARY.put("documentView", "http://conv.kuaipan.cn/1/fileops/documentView");//文档转换
		URLDICTIONARY.put("thumbnail", "http://conv.kuaipan.cn/1/fileops/thumbnail");//文档转换
		return URLDICTIONARY;
	}
}
